package com.gtw.dto;

import com.gtw.modules.entity.TbAddress;
import com.gtw.modules.entity.TbCommodity;
import com.gtw.modules.entity.TbShoppingCart;

import java.util.Date;
import java.util.List;

public class TbOrderDto {

    /**
     * id
     */
    private Integer id;
    /**
     * 用户uid
     */
    private String uid;
    /**
     * 创建时间
     */
    private Date createdate;
    /**
     * 是否支付 1:已支付 0:未支付
     */
    private Boolean ispay;
    /**
     * 订单号
     */
    private String billno;
    /**
     * 订单状态
     */
    private String orderstatus;
    /**
     * 支付时间
     */
    private Date paydate;
    /**
     * 支付方式
     */
    private String paytype;
    /**
     * 金额 单位 ：元
     */
    private Float totalfee;
    /**
     * uuid
     */
    private String guid;
    /**
     * 更新时间
     */
    private Date updatedate;
    /**
     * 更新人
     */
    private String updateuser;
    /**
     * 用户名
     */
    private String username;
    /**
     * 是否删除 1:已删除  0：未删除
     */
    private Boolean isdelete;
    /**
     * 物流类型
     */
    private String wuliutype;
    /**
     * 物流订单号
     */
    private String wuliuorderno;
    /**
     * 地址id
     */
    private TdAddressDto tbAddressDto;
    /**
     * 商品id
     */
    private List<TbShoppingCart> tbShoppingCartList;
    private String shoppingcartid;

    /**
     * 下单渠道
     */
    private String channel;

    /**
     * 备注
     */
    private String remark;

    /**
     * 0首单 1复购
     */
    private Integer isfirst;

    private String cityname;
    private String provincename;
    private String addressdetails;
    private String districtname;
    private String addressuser;
    private String addressphone;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Boolean getIspay() {
        return ispay;
    }

    public void setIspay(Boolean ispay) {
        this.ispay = ispay;
    }

    public String getBillno() {
        return billno;
    }

    public void setBillno(String billno) {
        this.billno = billno;
    }

    public String getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(String orderstatus) {
        this.orderstatus = orderstatus;
    }

    public Date getPaydate() {
        return paydate;
    }

    public void setPaydate(Date paydate) {
        this.paydate = paydate;
    }

    public String getPaytype() {
        return paytype;
    }

    public void setPaytype(String paytype) {
        this.paytype = paytype;
    }

    public Float getTotalfee() {
        return totalfee;
    }

    public void setTotalfee(Float totalfee) {
        this.totalfee = totalfee;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public String getUpdateuser() {
        return updateuser;
    }

    public void setUpdateuser(String updateuser) {
        this.updateuser = updateuser;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Boolean getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Boolean isdelete) {
        this.isdelete = isdelete;
    }

    public String getWuliutype() {
        return wuliutype;
    }

    public void setWuliutype(String wuliutype) {
        this.wuliutype = wuliutype;
    }

    public String getWuliuorderno() {
        return wuliuorderno;
    }

    public void setWuliuorderno(String wuliuorderno) {
        this.wuliuorderno = wuliuorderno;
    }

    public TdAddressDto getTbAddressDto() {
        return tbAddressDto;
    }

    public void setTbAddressDto(TdAddressDto tbAddressDto) {
        this.tbAddressDto = tbAddressDto;
    }

    public List<TbShoppingCart> getTbShoppingCartList() {
        return tbShoppingCartList;
    }

    public void setTbShoppingCartList(List<TbShoppingCart> tbShoppingCartList) {
        this.tbShoppingCartList = tbShoppingCartList;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getIsfirst() {
        return isfirst;
    }

    public void setIsfirst(Integer isfirst) {
        this.isfirst = isfirst;
    }

    public String getCityname() {
        return cityname==null?"":cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }

    public String getProvincename() {
        return provincename==null?"":provincename;
    }

    public void setProvincename(String provincename) {
        this.provincename = provincename;
    }

    public String getAddressdetails() {
        return addressdetails==null?"":addressdetails;
    }

    public void setAddressdetails(String addressdetails) {
        this.addressdetails = addressdetails;
    }

    public String getDistrictname() {
        return districtname;
    }

    public void setDistrictname(String districtname) {
        this.districtname = districtname;
    }

    public String getAddressuser() {
        return addressuser;
    }

    public void setAddressuser(String addressuser) {
        this.addressuser = addressuser;
    }

    public String getAddressphone() {
        return addressphone;
    }

    public void setAddressphone(String addressphone) {
        this.addressphone = addressphone;
    }

    public String getShoppingcartid() {
        return shoppingcartid;
    }

    public void setShoppingcartid(String shoppingcartid) {
        this.shoppingcartid = shoppingcartid;
    }
}
